#####################################################################
# following is the build sequence for the HyperStation (NBP) xcmds:
#####################################################################

#####################################################################
# following is the build sequence for the RemotePaint (ADSP) xcmds:
#####################################################################

C -q2 -g -o "{hpo}"ADSPCall.c.o "{adsp}"ADSPCall.c
	link  -sn Main=ADSPCall -sn STDIO=ADSPCall ¶
		 -sn INTENV=ADSPCall -rt XCMD=1305 ¶
		 -m ADSPCALL ¶
		 "{hpo}"ADSPCall.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"HyperPeople

C -q2 -g -o "{hpo}"adspclose.c.o "{adsp}"adspclose.c
	link  -sn Main=adspclose -sn STDIO=adspclose ¶
		 -sn INTENV=adspclose -rt XCMD=1304 ¶
		 -m ADSPCLOSE ¶
		 "{hpo}"adspclose.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"HyperPeople
		 
C -q2 -g -o "{hpo}"ADSPHangup.c.o "{adsp}"ADSPHangup.c
	link  -sn Main=ADSPHangup -sn STDIO=ADSPHangup ¶
		 -sn INTENV=ADSPHangup -rt XCMD=1307 ¶
		 -m ADSPHANGUP ¶
		 "{hpo}"ADSPHangup.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"HyperPeople

C -q2 -g -o "{hpo}"ADSPListen.c.o "{adsp}"ADSPListen.c
	link  -sn Main=ADSPListen -sn STDIO=ADSPListen ¶
		 -sn INTENV=ADSPListen -rt XCMD=1308 ¶
		 -m ADSPLISTEN ¶
		 "{hpo}"ADSPListen.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"HyperPeople

C -q2 -g -o "{hpo}"adspopen.c.o "{adsp}"adspopen.c
	link  -sn Main=adspopen -sn STDIO=adspopen ¶
		 -sn INTENV=adspopen -rt XCMD=1303 ¶
		 -m ADSPOPEN ¶
		 "{hpo}"adspopen.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"HyperPeople

C -q2 -g -o "{hpo}"ADSPTalk.c.o "{adsp}"ADSPTalk.c
	link  -sn Main=ADSPTalk -sn STDIO=ADSPTalk ¶
		 -sn INTENV=ADSPTalk -rt XCMD=1306 ¶
		 -m ADSPTALK ¶
		 "{hpo}"ADSPTalk.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"HyperPeople

#####################################################################
# following is the build sequence for the Hyperstation (ATP) xcmds:
#####################################################################

C -q2 -g  -o "{hpo}"xcmdutils.c.o		"{hp}"xcmdutils.c

C -q2 -g -o "{hpo}"ATPClose.c.o			"{atp}"ATPClose.c
C -q2 -g -o "{hpo}"ATPOpen.c.o			"{atp}"ATPOpen.c
C -q2 -g -o "{hpo}"ATPReceive.c.o		"{atp}"ATPReceive.c
C -q2 -g -o "{hpo}"ATPSendRequest.c.o	"{atp}"ATPSendRequest.c

C -q2 -g -o "{hpo}"NBPClose.c.o 			"{nbp}"NBPClose.c
C -q2 -g -o "{hpo}"NBPConfirmName.c.o	"{nbp}"NBPConfirmName.c
C -q2 -g -o "{hpo}"NBPLookupNames.c.o	"{nbp}"NBPLookupNames.c
C -q2 -g -o "{hpo}"NBPOpen.c.o 			"{nbp}"NBPOpen.c
C -q2 -g -o "{hpo}"NBPRegisterName.c.o	"{nbp}"NBPRegisterName.c

C -q2 -g  -o "{hpo}"atalkxcmd.c.o 		"{hp}"atalkxcmd.c

	link  -sn Main=ATPOpen -sn STDIO=ATPOpen ¶
		 -sn INTENV=ATPOpen -rt XCMD=303 ¶
		 -m ATPOPEN ¶
		 "{hpo}"ATPOpen.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=ATPClose -sn STDIO=ATPClose ¶
		 -sn INTENV=ATPClose -rt XCMD=300 ¶
		 -m ATPCLOSE ¶
		  "{hpo}"ATPClose.c.o "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=ATPReceive -sn STDIO=ATPReceive ¶
		 -sn INTENV=ATPReceive -rt XCMD=304 ¶
		 -m ATPRECEIVE ¶
		 "{hpo}"ATPReceive.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=ATPSendRequest -sn STDIO=ATPSendRequest ¶
		 -sn INTENV=ATPSendRequest -rt XCMD=306 ¶
		 -m ATPSENDREQUEST ¶
		 "{hpo}"ATPSendRequest.c.o "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=NBPClose -sn STDIO=NBPClose ¶
		 -sn INTENV=NBPClose -rt XCMD=307 ¶
		 -m NBPCLOSE ¶
		  "{hpo}"NBPClose.c.o "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=NBPConfirmName -sn STDIO=NBPConfirmName ¶
		 -sn INTENV=NBPConfirmName -rt XFCN=301 ¶
		 -m NBPCONFIRMNAME ¶
		 "{hpo}"NBPConfirmName.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=NBPLookupNames -sn STDIO=NBPLookupNames ¶
		 -sn INTENV=NBPLookupNames -rt XFCN=302 ¶
		 -m NBPLOOKUPNAMES ¶
		 "{hpo}"NBPLookupNames.c.o "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=NBPOpen -sn STDIO=NBPOpen ¶
		 -sn INTENV=NBPOpen -rt XCMD=308 ¶
		 -m NBPOPEN ¶
		  "{hpo}"NBPOpen.c.o "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 -o "{hp}"RemotePaint

	link  -sn Main=NBPRegisterName -sn STDIO=NBPRegisterName ¶
		 -sn INTENV=NBPRegisterName -rt XCMD=305 ¶
		 -m NBPREGISTERNAME ¶
		 "{hpo}"NBPRegisterName.c.o  "{hpo}"atalkxcmd.c.o "{hpo}"xcmdutils.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
		 -o "{hp}"RemotePaint


duplicate -y "{hp}"RemotePaint test:RemotePaint
Eject test:
beep

hd:hypercard:hypercard

hd:resedit

search Debugger hd:mpw:hyperappletalk:Å

#####################################################################
# some neat things that we keep handy for testing purposes
#####################################################################

print -r -b -h -s 8 -f courier  "{atp}"ATPClose.c
print -r -b -h -s 8 -f courier  "{nbp}"NBPConfirmName.c
print -r -b -h -s 8 -f courier  "{nbp}"NBPLookupNames.c
print -r -b -h -s 8 -f courier  "{atp}"ATPOpen.c
print -r -b -h -s 8 -f courier  "{atp}"ATPReceive.c
print -r -b -h -s 8 -f courier  "{nbp}"NBPRegisterName.c
print -r -b -h -s 8 -f courier  "{atp}"ATPSendRequest.c
print -r -b -h -s 8 -f courier  "{nbp}"NBPOpen.c
print -r -b -h -s 8 -f courier  "{nbp}"NBPClose.c
print -r -b -h -s 8 -f courier  "{hp}"atalkxcmd.c
print -r -b -h -s 8 -f courier  "{hp}"atalkxcmd.h
print -r -b -h -s 8 -f courier  "{hp}"xcmdutils.c
print -r -b -h -s 8 -f courier  "{hp}"xcmdutils.h



#####################################################################
# following is the build sequence for the File manager XCMD commands:
#####################################################################

C -q2 -g -o fOpen.c.o fOpen.c
	link -sn Main=fOpen -sn STDIO=fOpen ¶
		 -sn INTENV=fOpen -rt XFCN=20 ¶
		 -m FOPEN HD20:MPW:XCMDs:fOpen.c.o  "{CLibraries}"CRuntime.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
 	-o HD20:HyperCard:testXCMDs: 

C -q2 -g -o FClose.c.o FClose.c
	link -sn Main=FClose -sn STDIO=FClose ¶
		 -sn INTENV=FClose -rt XFCN=21 ¶
		 -m FCLOSE HD20:MPW:XCMDs:FClose.c.o  "{CLibraries}"CRuntime.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
 	-o HD20:HyperCard:testXCMDs: 

C -q2 -g -o PrintErr.c.o PrintErr.c
	link -sn Main=PrintErr -sn STDIO=PrintErr ¶
		 -sn INTENV=PrintErr -rt XFCN=22 ¶
		 -m PRINTERR HD20:MPW:XCMDs:PrintErr.c.o  "{CLibraries}"CRuntime.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
 	-o HD20:HyperCard:testXCMDs: 

C -q2 -g -o Fcreate.c.o Fcreate.c
	link -sn Main=Fcreate -sn STDIO=Fcreate ¶
		 -sn INTENV=Fcreate -rt XFCN=23 ¶
		 -m FCREATE HD20:MPW:XCMDs:Fcreate.c.o  "{CLibraries}"CRuntime.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
 	-o HD20:HyperCard:testXCMDs: 

C -q2 -g -o FDelete.c.o FDelete.c
	link -sn Main=FDelete -sn STDIO=FDelete ¶
		 -sn INTENV=FDelete -rt XFCN=24 ¶
		 -m FDELETE HD20:MPW:XCMDs:FDelete.c.o  "{CLibraries}"CRuntime.o ¶
		 "{CLibraries}"CInterface.o ¶
		 "{Libraries}"Interface.o ¶
 	-o HD20:HyperCard:testXCMDs: 


hd20:resedit

pascal HD20:mpw:xcmds:KeyCount.p 

link -m ENTRYPOINT -o HD20:mpw:xcmds:testxcmds -rt XFCN=100 -sn Main=keyCount ¶
		HD20:mpw:xcmds:keyCount.p.o 
	


C -q2 -g -o "{xcmd}"qualify.c.o  "{xcmd}"qualify.c
	link  -sn Main=qualify -sn STDIO=qualify ¶
		 -sn INTENV=qualify -rt XFCN=201 ¶
		 -m QUALIFY ¶
		  "{xcmd}"qualify.c.o ¶
		 "{CLibraries}"CInterface.o ¶
		 -o "{xcmd}"reference

hd:hypercard:hypercard


########################
# Alert stuff for Dr. Wischmeyer
########################
pascal  alert.p
Link alert.p.o ¶
	"{Libraries}"Runtime.o ¶
	"{PLibraries}"Paslib.o ¶
	-o alert
Rez alert.r -o alert -append
SetFile -a B alert -c PSMP -t APPL		# set the bundle bit

alert

hd:resedit


search ataddrs hd:mpw:hyperappletalk:Å





